package com.example.cloud.consume.order.feign.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * OpenFeign配置类
 *
 * @author Frank
 * @create 2020-11-30 17:18
 **/
@Configuration
public class FeignConfig {
    /**
     * feign日志配置
     * @return
     */
    @Bean
    Logger.Level feignLoggerLevel(){
        return Logger.Level.FULL;
    }
}
